home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Explorer Options.xpl < prev    next >
Text File  |  2001-08-28  |  2KB  |  71 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="3"
  4. "UIPATH"="Appearance\Explorer\Settings"
  5. "NAME"="Explorer Options"
  6. "VERSION"="1.51"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Show "File" menu"
  9. "TEXT 2"="Enable fast update"
  10. "TEXT 3"="Wrap long icon-titles"
  11. "DESCRIPTION 1"="Option 1: To hide the "File" menu inside the Windows Explorer, deactivate this option."
  12. "DESCRIPTION 2"="Option 2: Enables your open Windows Explorer windows and the desktop screen to refresh more quickly when activated."
  13. "DESCRIPTION 3"="Option 3: Splits long icon names into several small lines rather than one long line which may be displayed truncated"
  14. "AUTHOR"="Xteq Systems"
  15. "CONTACTURL"="http://www.xteq.com"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"=" "
  18.  
  19.  
  20. sP1="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\"
  21. sV1="NoFileMenu"
  22. sV2="HKLM\System\CurrentControlSet\Control\Update\UpdateMode" 'BINARY!
  23. sV3="HKCU\Control Panel\Desktop\WindowMetrics\IconTitleWrap"
  24.  
  25.  
  26. Sub Plugin_Initialize 
  27.  i=RegReadValue(sp1&sv1)
  28.  If IsEmpty(i) or i=0 then SetUIElement 1,true
  29.  
  30.  b=RegReadValue(sV2)
  31.  if b="00" then SetUIElement 2,true
  32.  
  33.  b=RegReadValue(sV3)
  34.  if b=1 then SetUIElement 3,true 
  35. End Sub
  36.  
  37. Sub Plugin_CheckData(ElementIndex)
  38. End Sub
  39.  
  40. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  41.  b=GetUIElement(1)
  42.  if b=true then
  43.     s=RegReadValue(sp1&sV1)
  44.     if IsEmpty(s)=false then
  45.        Call RegDeleteValue(sp1&sv1)
  46.     end if
  47.  else
  48.     Call RegWriteValue(sp1&sv1,1,2)
  49.  end if
  50.  
  51.  b=GetUIElement(2)
  52.  if b=true then
  53.     Call RegWriteValue(sV2,"00",3)
  54.  else
  55.     Call RegWriteValue(sV2,"01",3)
  56.  end if
  57.  
  58.  b=GetUIElement(3)
  59.  if b=true then
  60.     Call RegWriteValue(sV3,1,2)
  61.  else
  62.     Call RegWriteValue(sV3,0,2)
  63.  end if
  64.  
  65.  
  66.  Call IndicateSettingChange()
  67. End Sub
  68.  
  69. Sub Plugin_Terminate 
  70. End Sub
  71.